package homework.advance;

import java.util.*;

public class RandomTow {

	public static void main(String[] args) {
		Set set = new HashSet();
		while (set.size() < 10) {

			int a = (int) (Math.random() * 19 + 1);

			set.add(a);
//			if (list.equals(list)) {
//				list.add(a);
//			}

		}
		for (Object o : set) {
			System.out.println(o);

		}

	}

}
